package com.wk1un2.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wk1un2.dao.LoginDao;
import com.wk1un2.entity.Students;
import com.wk1un2.entity.Teachers;
import com.wk1un2.service.LoginService;
@Service
public class LoginServiceImpl implements LoginService{
	@Autowired
  private LoginDao logindao;
	@Override
	public Students loginstu(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return logindao.loginstu(map);
	}

	@Override
	public Teachers logintea(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return logindao.logintea(map);
	}

}
